package com.conception.designpattern.immutableobject;

public  class Employee {
	public  String firstName;
	public  String lastName;
	public  String address;
	public String SSN;
	 

	public Employee(String firstName, String lastName, String address,
			String sSN ) {
		super();
		this.firstName = firstName;
		this.lastName = lastName;
		this.address = address;
		SSN = sSN;
		 
	}

	// Behavior
	public boolean isValid() {

		return true;
	}

	public boolean update() {

		return true;
	}

	public boolean save() {

		return true;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSSN() {
		return SSN;
	}

	public void setSSN(String sSN) {
		SSN = sSN;
	}

	 

}
